<?php
namespace app\admin\controller;
use app\admin\services\GameInfoService;
use app\common\controller\Base;
use app\common\util\Assert;

class GameInfo extends Base
{
    /**
     * @var GameInfoService
     */
    protected $_service;

    protected function _setService()
    {
        $this->_service = new GameInfoService();
    }

    public function authGame()
    {
        return $this->commonData($this->_service->authGame(I('post.')));
    }
}